/* 3D Animation Page Specific Styles */
.animation3d {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/our-students.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Hero Section Styles */
.padTop {
    padding: 80px 0;
}

.padTop .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.padTop .hero-text {
    flex: 1;
}

.padTop .hero-text h1 {
    font-size: 2.5rem;
    margin-top: 120px;
    margin-bottom: 20px;
    color: #f3eaea;
}

.padTop .hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #dad8d8;
    margin-bottom: 15px;
}
.hero-text h1 span{
    color: rgba(241, 99, 99, 0.9);

}


.padTop .hero-image {
    flex: 1;
}

.padTop .hero-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .padTop {
        padding: 60px 0;
    }

    .padTop .hero-text h1 {
        font-size: 2rem;
    }

    .padTop .hero-text p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .padTop .flex {
        flex-direction: column;
        text-align: center;
    }

    .padTop .hero-text,
    .padTop .hero-image {
        width: 100%;
    }

    .padTop .hero-text h1 {
        font-size: 1.8rem;
    }

    .padTop .hero-image {
        /* order: -1; */
        margin-bottom: 30px;
    }

    .padTop .hero-image img {
        max-width: 85%;
    }
}

@media screen and (max-width: 480px) {
    .padTop {
        padding: 40px 0;
    }

    .padTop .hero-text h1 {
        font-size: 1.5rem;
    }

    .padTop .hero-text p {
        font-size: 0.9rem;
    }
}

/* Course Details Section */
.course-details {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0c1e 0%, #1a2a3a 100%);
}

.course-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background: rgba(10, 12, 30, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 250px;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(19, 21, 40, 0.95);
}

.info-item i {
    font-size: 2.5rem;
    color: #FF6B6B;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.info-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* What You'll Learn Section */
.what-you-learn {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0c1e 0%, #1a2a3a 100%);
    position: relative;
    overflow: hidden;
}

.what-you-learn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/faq-pattern.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.what-you-learn h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.what-you-learn h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    margin: 15px auto 0;
    border-radius: 2px;
}

.term-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.term-tab {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.term-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.term-tab.active {
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.term-content {
    position: relative;
    z-index: 2;
}

.term {
    background: rgba(10, 12, 30, 0.95);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.term.active {
    display: block;
}

.term h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.term h4::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    margin: 15px auto 0;
    border-radius: 2px;
}

.term ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.term ul li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.term ul li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.term ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 12px;
    color: #FF6B6B;
    font-size: 0.9rem;
}

/* Term-specific styling */
#term1::before {
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
}

#term2::before {
    background: linear-gradient(90deg, #4ECDC4, #45B7AF);
}

#term3::before {
    background: linear-gradient(90deg, #6C63FF, #5A52D5);
}

#term1 ul li::before {
    color: #FF6B6B;
}

#term2 ul li::before {
    color: #4ECDC4;
}

#term3 ul li::before {
    color: #6C63FF;
}

#term1 h4::after {
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
}

#term2 h4::after {
    background: linear-gradient(90deg, #4ECDC4, #45B7AF);
}

#term3 h4::after {
    background: linear-gradient(90deg, #6C63FF, #5A52D5);
}

@media (max-width: 992px) {
    .term ul {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .what-you-learn {
        padding: 60px 0;
    }

    .what-you-learn h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .term-tabs {
        flex-direction: column;
        align-items: center;
    }

    .term-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .term {
        padding: 30px 20px;
    }

    .term h4 {
        font-size: 1.5rem;
    }

    .term ul li {
        font-size: 1rem;
        padding: 12px 15px 12px 30px;
    }
}

@media (max-width: 576px) {
    .what-you-learn {
        padding: 40px 0;
    }

    .what-you-learn h2 {
        font-size: 1.8rem;
    }

    .term-tabs {
        gap: 15px;
    }

    .term-tab {
        padding: 12px 25px;
        font-size: 1.1rem;
    }

    .term {
        padding: 25px 15px;
    }

    .term h4 {
        font-size: 1.3rem;
    }

    .term ul li {
        font-size: 0.95rem;
        padding: 10px 15px 10px 30px;
    }
}

/* Course Highlights Section */
.course-highlights {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0c1e 0%, #1a2a3a 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.course-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/faq-pattern.png') repeat;
    opacity: 0.05;
    z-index: -1;
}

.course-highlights .same-text {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.course-highlights .same-text h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.course-highlights .same-text h2 span {
    color: #FF6B6B;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.highlight-card {
    background: rgba(10, 12, 30, 0.95);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background: rgba(15, 17, 35, 0.95);
    border-color: rgba(255, 107, 107, 0.3);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight-icon i {
    font-size: 24px;
    color: #fff;
}

.highlight-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.highlight-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.highlight-details li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.highlight-details li i {
    color: #FF6B6B;
    margin-right: 10px;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .course-highlights .same-text h2 {
        font-size: 2.2rem;
    }

    .highlight-card {
        padding: 25px;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1c2e 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/faq-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    margin: 15px auto 0;
    border-radius: 2px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #FF6B6B, #FF8E8E);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    padding-right: 40px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: #FF6B6B;
}

.faq-question i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #FF6B6B;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px 30px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-section h2 {
        font-size: 1.8rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-question i {
        font-size: 1rem;
    }
} 